package com.hfy.feign;

import com.hfy.model.po.user.UserCommentPo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ author 韩
 * time: 2024/6/21 4:54
 */

@FeignClient(name = "music-service-user")
@RequestMapping("/feign/user")
public interface IUserClient {

    @GetMapping("/get_by_account/{account}")
    UserCommentPo getInfoByAccount(@PathVariable("account") Long account);

}